//
//  YKInputView.h
//  YunKang
//
//  Created by leoking870 on 2017/9/29.
//  Copyright © 2017年 leoking870. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    YKInputViewTypeString,
    YKInputViewTypeDate,
} YKInputViewType;




@interface YKInputView : UIView
- (instancetype)initWithTitle:(NSString *)title
                        input:(NSString *)input;
@property (nonatomic, assign)CGFloat contentTopInset;
@property (nonatomic, strong)NSString *input;
@property (nonatomic, assign)BOOL editable;
@property (nonatomic, strong)UIColor *disableInputBackgroundColor;
@property (nonatomic, strong)UIColor *inputBackgroundColor;
@property (nonatomic, strong)UIColor *inputTextColor;
@property (nonatomic, strong)UIColor *titleColor;
@property (nonatomic, strong)UIFont *titleFont;
@property (nonatomic, strong)UIFont *inputTextFont;
@property (nonatomic, assign)YKInputViewType type;
@property (nonatomic, strong)NSString *dateFormat;
@property (nonatomic, assign)UIKeyboardType keyboardType;
@property (nonatomic, assign)NSUInteger maxInputCount;
@end
